package com.bckj.freshnow.goods.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.freshnow.goods.entity.GoodsCategory;
import com.bckj.freshnow.goods.model.GoodsCategoryResponse;
import com.bckj.freshnow.goods.model.GoodsCategoryRequest;

import org.mapstruct.Mapper;

/**
 * 商品分类表(GoodsCategory)数据转换
 *
 * @author makejava
 * @since 2025-04-21 16:22:23
 */
@Mapper(config = MapStructConfig.class)
public interface GoodsCategoryConvert {

    GoodsCategory request2Bean(GoodsCategoryRequest request);
    
    GoodsCategoryResponse bean2Response(GoodsCategory bean);
}
